- Notifications
You must be signed in to change notification settings - Fork 1.6k
/
Copy pathsource.cpp
25 lines (22 loc) · 551 Bytes
/
source.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#using <System.Xml.dll>
#using <System.Drawing.dll>
#using <System.dll>
#using <System.Windows.Forms.dll>
#using <System.Data.dll>
usingnamespaceSystem;
usingnamespaceSystem::Data;
usingnamespaceSystem::Windows::Forms;
public ref classForm1: publicForm
{
protected:
TextBox^ textBox1;
// <Snippet1>
private:
voidTryContainsDataMember( DataSet^ myDataSet )
{
bool trueorfalse;
trueorfalse = this->BindingContext->Contains( myDataSet, "Suppliers" );
Console::WriteLine( trueorfalse );
}
// </Snippet1>
};